@layout("/common/_container.html",{js:["/assets/sysJob/sysJob.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">定时任务</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label" style="width: auto;">任务名称:</label>
                                <div class="layui-input-inline">
                                    <input id="jobName" name="jobName" class="layui-input" type="text" placeholder="任务名称"/>
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label" style="width: auto;">任务组名:</label>
                                <div class="layui-input-inline">
                                    <input id="jobGroup" name="jobGroup" class="layui-input" type="text" placeholder="任务组名"/>
                                </div>

                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label" style="width: auto;">状态:</label>
                                <!--<input id="status" name="status" class="layui-input" type="text" placeholder="状态（0正常 1暂停）"/>-->
                                <div class="layui-input-inline">
                                    <select class="layui-select" name="status" id="status">
                                        <option value="">所有</option>
                                        <option value="0">正常</option>
                                        <option value="1">暂停</option>
                                    </select>
                                </div>

                            </div>

                            <div class="layui-inline">

                                <a id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</a>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="SysJobTable" lay-filter="SysJobTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="toolbar">
    <a  lay-event="btnAdd" class="layui-btn icon-btn layui-btn-sm"><i class="layui-icon">&#xe654;</i>添加</a>
</script>

<script type="text/html" id="tableBar">
    <!--<a  class="layui-btn layui-btn-primary layui-btn-xs layui-icon layui-icon-add-1" lay-event="other">添加</a>-->
    <a class="layui-btn layui-btn-normal layui-btn-xs layui-icon layui-icon-edit" lay-event="edit">修改</a>
    <a lay-event="delete" class="layui-btn layui-btn-xs layui-btn-danger layui-icon layui-icon-delete">删除</a>

    <a class="layui-btn layui-btn-xs" data-dropdown="#userTbDrop{{d.LAY_INDEX}}" no-shade="true">
        更多操作<i class="layui-icon layui-icon-drop" style="font-size: 12px;margin-right: 0;"></i></a>
    <!-- 下拉菜单 -->
    <ul class="dropdown-menu-nav dropdown-bottom-right layui-hide" id="userTbDrop{{d.LAY_INDEX}}">
        <div class="dropdown-anchor"></div>
        <li><a lay-event="run"><i class="layui-icon layui-icon-play"></i>执行一次</a></li>
        <li><a lay-event="info"><i class="layui-icon layui-icon-form"></i>详情</a></li>
        <li><a lay-event="jobLog"><i class="layui-icon layui-icon-tabs"></i>调度日志</a></li>
    </ul>
</script>
<style>
    .layui-btn+.layui-btn {
         margin-left: 0px;
    }
</style>
@}